#include "font_config.h"
#include "font_generator.h"
#include "utils/gui_dfx.h"
#include <iostream>

using namespace YueGUI;

int main(int argc, char *argv[]) {
    Dfx::Log(LogLevel::DEBUG, "font tool init");

    FontConfig fontConfig;
    fontConfig.LoadFontConfigFile(argv[1]);
    fontConfig.SetOutputFormat(static_cast<OutputFormat>(atoi(argv[2])));

    FontGenerator generator;
    generator.BindConfig(fontConfig);

    return 0;
}